package org.edu.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.common.entity.VeBaseInterfaceUser;

@Mapper
public abstract interface VeBaseInterfaceUserMapper extends BaseMapper<VeBaseInterfaceUser> {
    public abstract List<Map<String, Object>> getInterfaceUserPageList(VeBaseInterfaceUser veBaseInterfaceUser);

    public abstract List<Map<String, Object>> getInterfaceUserByNameAndPwd(String id, String interfaceName);

    public abstract List<Map<String, Object>> getInterfaceListByUserId(String userId);

    public abstract List<Map<String, Object>> getListByName(String name);

    public abstract List<Map<String, Object>> getInterfaceUserByIdAndInterfaceName(String id, String interfaceName);

    public abstract int deleteInterfaceUserRelById(String interfaceUserId);

    public abstract int addInterfaceUserRelBatch(String interfaceUserId, String[] interfaceIds, String userId);
}
